package com.jy.bean;

import java.util.Date;

public class User {
    private Integer id;
    private String name;
    private String password;
    private String Email;
    private String Address;
    private String consigneeName;
    private String phone;
    private String datetime;

    public User() {
    }

    public User(Integer id, String name, String password, String email, String address, String consigneeName, String phone, String datetime) {
        this.id = id;
        this.name = name;
        this.password = password;
        Email = email;
        Address = address;
        this.consigneeName = consigneeName;
        this.phone = phone;
        this.datetime = datetime;
    }

    public User(String name, String email, String password) {
        this.name = name;
        this.password = password;
        Email = email;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", Email='" + Email + '\'' +
                ", Address='" + Address + '\'' +
                ", consigneeName='" + consigneeName + '\'' +
                ", phone='" + phone + '\'' +
                ", datetime='" + datetime + '\'' +
                '}';
    }
}
